Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | Mivhak.component('tabs', { |
||
8 | created: function() { |
||
9 | var $this = this; |
||
10 | this.$el = this.mivhakInstance.$selection.find('pre').wrapAll(this.$el).parent(); |
||
11 | $.each(this.mivhakInstance.resources.data,function(i, resource){ |
||
12 | if(resource.visible) |
||
13 | $this.tabs.push(Mivhak.render('tab-pane',{ |
||
14 | resource: resource, |
||
15 | index: i, |
||
16 | mivhakInstance: $this.mivhakInstance |
||
17 | })); |
||
18 | }); |
||
19 | }, |
||
20 | methods: { |
||
32 | }); |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.